package xyz.dfm.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author: Dsi
 * @date: 2022/2/14 20:00
 * @description:
 */
@Data
@Accessors(chain = true)
@TableName("bookstab")
public class Books {
    @TableId(type = IdType.AUTO)
    private Integer BookId;
    private String BookName;
    private String BookUrl;
    private String BookAuthor;
    private String BookDesc;
    private String BookCoverUrl;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date BookSaveTime;
    private Integer BookStatus;
    private Integer BookType;
}
